import http from "@/plugins/aixos";

export function authLogin(data: LoginModel) {
  return http.request<LoginResponeModel>({
    url: `/auth/login`,
    data,
    method: "POST",
  });
}

export function authRegister(data: RegisterModel) {
  return http.request({
    url: `/auth/register`,
    data,
    method: "POST",
  });
}
